package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.OaOtheraPurchase;

/**
 * 记录采购实际付款Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-12
 */
public interface OaOtheraPurchaseMapper
{
    /**
     * 查询记录采购实际付款
     *
     * @param id 记录采购实际付款主键
     * @return 记录采购实际付款
     */
    public OaOtheraPurchase selectOaOtheraPurchaseById(Long id);

    /**
     * 查询记录采购实际付款列表
     *
     * @param oaOtheraPurchase 记录采购实际付款
     * @return 记录采购实际付款集合
     */
    public List<OaOtheraPurchase> selectOaOtheraPurchaseList(OaOtheraPurchase oaOtheraPurchase);
    /**
     * 新增记录采购实际付款
     *
     * @param oaOtheraPurchase 记录采购实际付款
     * @return 结果
     */
    public int insertOaOtheraPurchase(OaOtheraPurchase oaOtheraPurchase);

    /**
     * 修改记录采购实际付款
     *
     * @param oaOtheraPurchase 记录采购实际付款
     * @return 结果
     */
    public int updateOaOtheraPurchase(OaOtheraPurchase oaOtheraPurchase);

    /**
     * 删除记录采购实际付款
     *
     * @param id 记录采购实际付款主键
     * @return 结果
     */
    public int deleteOaOtheraPurchaseById(Long id);

    /**
     * 批量删除记录采购实际付款
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOaOtheraPurchaseByIds(Long[] ids);

    List<OaOtheraPurchase> selectOaOtheraPurchaseList1(OaOtheraPurchase oaOtheraPurchase);

    void delete(Integer id);

    List<OaOtheraPurchase> selectOaOtheraPurchaseList2(OaOtheraPurchase queryPurchase);
}
